//<![CDATA[
jQuery(function($) { 'use strict';
    $("#prtbutton").on('click', function() {
        //Print ele2 with default options
        $("#my_print_content").print({
          globalStyles:false,
          mediaPrint:false,
          stylesheet:"css/printing.css",
          iframe:false,
          noPrintSelector:"",
          prepend:"NEW HEAD",
          append:"NEW FOOT",
          deferred:$.Deferred().done(function(){console.log('print done')})
        });
    });
    // $("#ele4").find('button').on('click', function() {
    //     //Print ele4 with custom options
    //     $("#ele4").print({
    //         //Use Global styles
    //         globalStyles : false,
    //         //Add link with attrbute media=print
    //         mediaPrint : false,
    //         //Custom stylesheet
    //         stylesheet : "http://fonts.googleapis.com/css?family=Inconsolata",
    //         //Print in a hidden iframe
    //         iframe : false,
    //         //Don't print this
    //         noPrintSelector : ".avoid-this",
    //         //Add this at top
    //         prepend : "Hello World!!!<br/>",
    //         //Add this on bottom
    //         append : "<br/>Buh Bye!",
    //         //Log to console when printing is done via a deffered callback
    //         deferred: $.Deferred().done(function() { console.log('Printing done', arguments); })
    //     });
    // });
    // Fork https://github.com/sathvikp/jQuery.print for the full list of options
});
//]]>
